package com.czz.manage.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @ClassName: CourseDescription
 * @Author Czz
 * @Date 2020/1/19
 * @Time 20:13
 **/

@Data
@TableName(value = "edu_course_description")
@Accessors(chain = true)
public class CourseDescription {
    @TableId(value = "description_id", type = IdType.ID_WORKER_STR)
    private String descriptionId;

    @TableField(value = "course_id")
    private String courseId;

    @TableField(value = "description")
    private String description;

    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;
}
